package com.nais.mapper;

import com.nais.domain.EcCampus;
import com.nais.domain.EcCampusCriteria;
import com.nais.domain.EcCampusWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface EcCampusMapper {
    long countByExample(EcCampusCriteria example);

    int deleteByExample(EcCampusCriteria example);

    int deleteByPrimaryKey(Integer id);

    int insert(EcCampusWithBLOBs record);

    int insertSelective(EcCampusWithBLOBs record);

    List<EcCampusWithBLOBs> selectByExampleWithBLOBs(EcCampusCriteria example);

    List<EcCampus> selectByExample(EcCampusCriteria example);

    EcCampusWithBLOBs selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") EcCampusWithBLOBs record, @Param("example") EcCampusCriteria example);

    int updateByExampleWithBLOBs(@Param("record") EcCampusWithBLOBs record, @Param("example") EcCampusCriteria example);

    int updateByExample(@Param("record") EcCampus record, @Param("example") EcCampusCriteria example);

    int updateByPrimaryKeySelective(EcCampusWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(EcCampusWithBLOBs record);

    int updateByPrimaryKey(EcCampus record);
}